package screen.component
{
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	
	import helper.ValueObject;

	public class Supermarket extends Places
	{
		public function Supermarket()
		{
			init()
		}
		private function init():void{
			_bg = ValueObject.S1_RESOURCE.getExportedAsset("supermarket") as MovieClip;
			MovieClip(_bg.mc).buttonMode = true;
			MovieClip(_bg.mc).addEventListener(MouseEvent.CLICK,showMission);
			addChild(_bg);
			resize();
		}
		private function resize():void{
			_bg.x = ValueObject.WIDTH/2;
			_bg.y = ValueObject.HEIGHT -100;
		}
	
	}
}